//常用css
.clearFloat{
  &:after{
    content: "";
    display: table;
    clear: both;
  }
}
.hand{
  cursor: pointer;
}
.hide{
  display: none;
}
.square{
  .square_reg{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-bottom: -4px;
    margin-left: 4px;
    border: 5px solid transparent;
    border-top-color: #39A5E5;
  }
}
.content{
width: 1190px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  &:after{
    content: "";
    display: table;
    clear: both;
  }
}
//具体css
body header{
  width: 100%;
}
html body{
  background-color: #EFF2F9;
}
.btn_a{
 color: black;
  text-decoration: none;
}
.index_header{
  width: 100%;
  height: 39px;
  background-color: #FFFFFF;
  .top_left,.top_right{
    display: inline-block;
    list-style: none;
    height: 100%;
    li{
      text-align: center;
      line-height: 39px;
      padding-left: 5px;
      padding-right: 5px;
      display: inline-block;
      height: 100%;
      a{
        font-size: 12px;
        color: #666666;
      }
    }
  }
  .top_left{
    li{
      float: left;
    }
    float: left;
    .top_phone{
      display: inline-block;
      width: 17px;
      height:21px;
      margin-bottom: -5px;
      margin-right: 4px;
      background-image: url("../img/phone.png");
    }
    &>li:nth-child(2){
      position: relative;
      &.active{
        &:after{
          transform: rotate(0deg);
        }
      }
      .user_message{
        background-color: #ffffff;
        position: absolute;
        width: 80px;
        height: 0;
        left: -3px;
        overflow: hidden;
        top: 38px;
        transition: 1s all;
        z-index: 99;
        &.active{
          height: 100px;
        }
        li{
          width: 100%;
          padding: 0;
          text-align: center;
          height: 40px;
          line-height: 50px;
        }
      }
      &:after{
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        margin-bottom: -3px;
        border: 5px solid transparent;
        border-top-color: #39A5E5;
        //margin-bottom: -4px;
        margin-left: 3px;
        transition: 1s all;
      }

    }
  }
  .top_right{
    li{
      &:first-child{
        width: 55px;
      }
      float: left;
      position: relative;
      width: 100px;
      &:after{
        content: "";
        display: table;
        position: absolute;
        width: 0;
        height: 16px;
        border: 0;
        border-right: 1px solid #E6E6E6;
        right: 0;
        bottom: 12px;
        @-moz-document url-prefix(){
          bottom: 10px;
        }
      }
    }
    float: right;
    .sCar{
      position: relative;
      span{
        font-size: 12px;
        display: inline-block;
        position: absolute;
        right: 26px;
        z-index: 99;
      }
      i{
        display: block;
        position: absolute;
        width: 0;
        height: 16px;
        border: 0;
        border-right: 1px solid #E6E6E6;
        right: -3px;
        bottom: 12px;
        @-moz-document url-prefix(){
          bottom: 10px;
        }
      }
     &:before{
       content: '';
       display: block;
       position: absolute;
       border: 7px solid transparent;
       width: 14px;
       right: 34px;
       bottom: 13px;
       border-right-color: #FF6E40;
       @-moz-document url-prefix(){
         bottom: 12px;
       }
     }
      &:after{
        content: '';
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-left: 6px;
        background-color: #FF6E40;
        position: relative;
        top: 4px;
        @-moz-document url-prefix(){
          top: 2px;
        }
      }
    }
    .collection{
      display: inline-block;
      width: 13px;
      height: 11px;
      background-image: url("../img/collection.png");
      background-size: contain;
      vertical-align: middle;
      margin-right: 5px;
    }
  }

}
.index_nav{
  width: 100%;
  height: 51px;
  background-color: #FF8C00;
  .banner{
    height: 100%;
    float: left;
  }
  ul{
    float: left;
    display: inline-block;
    height: 100%;
    vertical-align: bottom;
    &>li{
      float: left;
      width: 100px;
      height: 100%;
      display: inline-block;
      text-align: center;
      line-height: 50px;
      a{
        color: white;
      }
      &.active{
        background-color: #FF3C00;
      }
    }
  }
}
.index_padding{
  width: 1190px;
  margin-right: auto;
  margin-left: auto;
}
.body{
  &:after{
    content: "";
    display: table;
    clear: both;
  }
  background-color: #EFF2F9;
  .body_left{
    border: 1px solid #E4E4E4;
   display: inline-block;
    height: 100%;
    float: left;
    width: 1/6*100%;
    .user_date{
      position: relative;
      padding:0 10px;
      width: 100%;
      height: 400px;
      background-color: #ffffff;
      &>ul:first-child{
        border-bottom: 1px dashed #DBDBDB;
      }
      &>ul:nth-child(2),ul:nth-child(3){
        padding-left: 20%;
      }
      ul{
        list-style: none;
        li{
          min-height: 34px;
          line-height: 34px;
          &>a.active{
            font-weight: 600;
            color: #FF8F06;
          }
        }
      }
      .company_icon,.person_icon{
        display: inline-block;
        width: 28px;
        height: 28px;
        position: absolute;
        left: 8px;
      }
      .person_icon{
        background-image: url('../img/person_data.png');
      }
      .company_icon{
        background-image: url("../img/company.png");
      }
    }
  }
  .body_right{
    display: inline-block;
    height: 100%;
    float: left;
    width: 5/6*100%;
    margin-bottom: 30px;
    .body_right_nav{
      float: right;
      line-height: 40px;
      width: 100%;
      height: 40px;
      padding-left: 20px;
      background-color: #ffffff;
      margin-bottom: 10px;
    }
    .table{
      border: 2px solid #e5e5e5;
      border-top: 0;
      background-color: #FFFFFF;
      width: 98%;
      float: right;
      .table_bar{
        width: 100%;
        height: 50px;
        ul{
          height: 100%;
          border-top: 1px solid #E6E6E6;
          border-bottom:1px solid #E6E6E6;
          li{
            display: inline-block;
            text-align: center;
            height: 100%;
            width: 150px;
            line-height: 50px;
            text-align: center;
            float: left;
            position: relative;
            &.active{
              border-top: 2px solid #333333;
              border-right: 1px solid #E6E6E6;
              border-left: 1px solid #E6E6E6;
              &:after{
                content: '';
                display: block;
                position: absolute;
                bottom: -1px;
                width: 100%;
                height: 2px;
                background-color: #ffffff;
              }
            }
          }
          li:first-child{
            &.active{
              border-left: 0;
            }
          }
        }
      }
      .table_body{
        width: 100%;
        min-height: 800px;
        display: none;
        &#viewOne{
          padding-top: 100px;
          h1{
            margin-bottom: 20px;
            &:after{
              content: "";
              display: table;
              clear: both;
            }
            div{
              float: left;
              font-weight: normal;
            }
            div:nth-child(1){
              width: 30%;
              font-size: 14px;
              text-align: right;
              height: 100%;
            }
            div:nth-child(2){
              font-size: 12px;
              padding-left: 10px;
              width: 70%;
              img{
                vertical-align: middle;
                cursor: pointer;
                width: 100px;
                height: 100px;
              }
              input{
                width: 400px;
                height: 30px;
                border:1px solid #A9A9A9;
                outline: none;
              }
              #viewOne_submit{
                width: 120px;
                height: 30px;
                border: 0;
                outline: none;
                border-radius: 5px;
                background-color: #39A5E5;
                color: white;
                font-size: 15px;
              }
              .company_tip{
                border:1px solid #A9A9A9;
                resize: none;
                width: 400px;
                height: 60px;
                outline: none;
                overflow: auto;
              }
            }
          }
          h1:nth-child(1),h1:nth-child(2),h1:nth-child(11){
            height: 100px;
            div{
              height: 100%;
              line-height: 100px;
            }
          }
        }
        &.active{
          display: block;
        }
      }
    }

  }
}
body footer{
  width: 100%;
  background-color: #ffffff;
  &.index_footer{
    padding-top: 30px;
    font-size: 12px;
    height: 120px;
    border-top: 2px solid #e5e5e5;
    text-align: center;
    p:first-child{
      margin-bottom: 10px;
    }
    img{
      width: 195px;
      height: 43px;
    }
  }
}
